NXP Semiconductors /MIMXRT1052 /TMR1 /CSCTRL3

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CSCTRL3

15 1211 87 43 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (CL1_0)CL10 (CL2_0)CL20 (TCF1)TCF1 0 (TCF2)TCF2 0 (TCF1EN)TCF1EN 0 (TCF2EN)TCF2EN 0 (UP_0)UP 0 (TCI_0)TCI 0 (ROC_0)ROC 0 (ALT_LOAD_0)ALT_LOAD 0 (FAULT_0)FAULT 0 (DBG_EN_0)DBG_EN

UP=UP_0, ALT_LOAD=ALT_LOAD_0, DBG_EN=DBG_EN_0, CL2=CL2_0, CL1=CL1_0, ROC=ROC_0, FAULT=FAULT_0, TCI=TCI_0

Description

Timer Channel Comparator Status and Control Register

Fields

CL1

Compare Load Control 1

0 (CL1_0): Never preload

1 (CL1_1): Load upon successful compare with the value in COMP1

2 (CL1_2): Load upon successful compare with the value in COMP2

CL2

Compare Load Control 2

0 (CL2_0): Never preload

1 (CL2_1): Load upon successful compare with the value in COMP1

2 (CL2_2): Load upon successful compare with the value in COMP2

TCF1

Timer Compare 1 Interrupt Flag

TCF2

Timer Compare 2 Interrupt Flag

TCF1EN

Timer Compare 1 Interrupt Enable

TCF2EN

Timer Compare 2 Interrupt Enable

UP

Counting Direction Indicator

0 (UP_0): The last count was in the DOWN direction.

1 (UP_1): The last count was in the UP direction.

TCI

Triggered Count Initialization Control

0 (TCI_0): Stop counter upon receiving a second trigger event while still counting from the first trigger event.

1 (TCI_1): Reload the counter upon receiving a second trigger event while still counting from the first trigger event.

ROC

Reload on Capture

0 (ROC_0): Do not reload the counter on a capture event.

1 (ROC_1): Reload the counter on a capture event.

ALT_LOAD

Alternative Load Enable

0 (ALT_LOAD_0): Counter can be re-initialized only with the LOAD register.

1 (ALT_LOAD_1): Counter can be re-initialized with the LOAD or CMPLD2 registers depending on count direction.

FAULT

Fault Enable

0 (FAULT_0): Fault function disabled.

1 (FAULT_1): Fault function enabled.

DBG_EN

Debug Actions Enable

0 (DBG_EN_0): Continue with normal operation during debug mode. (default)

1 (DBG_EN_1): Halt TMR counter during debug mode.

2 (DBG_EN_2): Force TMR output to logic 0 (prior to consideration of SCTRL[OPS]).

3 (DBG_EN_3): Both halt counter and force output to 0 during debug mode.

Links

() ()